package com.luyuan.crm.member.service;

import java.util.List;

import org.hibernate.criterion.Order;

import com.luyuan.crm.member.model.CallBackRecord;
import com.luyuan.crm.member.model.Member;
import com.luyuan.crm.user.Party;
import com.ruijie.foundation.annotation.DomainService;
import com.ruijie.foundation.query.Page;
import com.ruijie.foundation.query.criteria.CriteriaTemplate;

@DomainService
public interface CallBackRecordService {
	void addCallBackRecord(CallBackRecord callBackRecord);

	List<CallBackRecord> queryCallBackRecord(Party party);

	List<CallBackRecord>  queryCallBackRecord(Member member);

	Page pagedQuery(CriteriaTemplate c, int page, int pageSize,
			List<Order> orders);

}
